body {
  // background-color: #eee;
}
#app {
  width: 100%;
  margin: 0 auto;
  position: relative;
  .nav {
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    .tools {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      height: 80%;
      display: flex;
    }
    .title-card {
      background-color: #5a9cf8; //ff485f
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      padding: 0 0.1rem;
      margin-left: 0.2rem;
      font-size: 0.14rem;
      color: #fff;
      border-radius: 0.16rem;
      cursor: pointer;
    }
    .title-card:last-child {
      background-color: #5a9cf8;
    }
    .title-card:first-child {
      // background-color: #5a9cf8;
      transition: all 0.2s;
      h1 {
        font-size: 0.14rem;
        font-weight: bold;
      }
    }
    .title-card:first-child:hover {
      transform: translateY(-2px);
    }
    .title-card.no {
      color: #ccc;
    }
  }
  .main {
    width: 100%;
    display: flex;
    padding-top: 0.1rem;
    .main-box {
      flex: 1;
      height: 5rem;
      box-sizing: border-box;
    }
    .main-box.right {
      // border-left: 1px solid #ccc;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .upload-box {
        width: 100%;
        height: 50%;
        box-sizing: border-box;
        padding-top: 5%;
        position: relative;
        display: flex;
        align-items: center;
        .box-tool {
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          .animate-box {
            width: 100%;
            height: 100%;
          }
          .qr-box {
            width: 2rem;
            height: 2rem;
            background-color: #ccc;
            position: absolute;
            top: 50%;
            height: 50%;
            transform: translate(-50%, -50%);
          }
        }
        .upload-demo {
          text-align: center;
          width: 100%;
          .el-upload.el-upload--text {
            width: 80%;
            .el-upload-dragger {
              width: 100%;
            }
          }
        }
        .qr {
          width: 2rem;
          height: 2rem;
          .qr-img {
            width: 100%;
            height: 100%;
            padding: 0.06rem;
            border: 0.02rem solid #6a9af1;
            border-radius: 0.06rem;
          }
        }
      }
      .upload-box:last-child {
        width: 80%;
        height: 40%;
        margin: 0 auto;
        box-sizing: border-box;
        background-color: #5a9cf8;
        border-radius: 0.1rem;
        padding: 0.1rem;
        color: #fff;
        position: relative;
        h1 {
          font-weight: bold;
          font-size: 0.15rem;
          padding: 0.1rem;
        }
        h2 {
          font-size: 0.15rem;
          padding: 0.1rem;
        }
        h3 {
          color: #ccc;
          font-size: 0.14rem;
          padding: 0.08rem;
        }
        .vue-dl {
          font-size: 0.14rem;
          color: #ccc;
          position: absolute;
          top: 0.1rem;
          right: 0.1rem;
        }
        .vue-dl:hover {
          color: #fff;
        }
      }
    }
    .main-box.left {
      // padding: 0.2rem;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      padding: 0 0.1rem;
      .card-box {
        width: 100%;
        height: 100%;
        border-radius: 0.1rem;
        box-sizing: border-box;
        padding: 10px;
        box-shadow: 0 2px 12px 0 rgba(105, 154, 240, 0.5);
        .qr {
          position: absolute;
          left: 0;
          top: 0;
          width: 1rem;
          height: 1rem;
          background-color: #ccc;
        }
      }
    }
    .block {
      width: 100%;
      margin: 60px;
      .carousel-box {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.16rem;
        color: #fff;
        position: relative;
        .car-name {
          font-weight: bold;
          padding-bottom: 0.1rem;
          color: royalblue;
        }
        .car-version {
          color: #fff;
          padding: 0.08rem;
        }
      }
    }
  }
  .main .loading {
    width: 100%;
    height: 5rem;
  }
  .to-full {
    position: absolute;
    top: 0;
    right: 10px;
    color: #00f;
  }
  .add-text {
    color: #00f;
  }
  .add-box,
  .btn-box {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.15rem 0.3rem;
    box-sizing: border-box;
    .add-label {
      width: 15%;
      font-size: 0.14rem;
      font-weight: bold;
      color: royalblue;
    }
  }
  .btn-box {
    justify-content: flex-end;
  }
  .foot {
    margin-top: 0.4rem;
    padding: 0 0.1rem;
    h1 {
      font-weight: bold;
      font-size: 0.14rem;
      color: #e1443c;
      text-align: right;
    }
  }
}
#app.pc {
  max-width: 12rem;
  min-width: 8rem;
}

// element ui
.el-carousel__item {
  overflow: hidden;
  border-radius: 0.06rem;
}

.el-carousel__item:nth-child(2n) {
  background: linear-gradient(-90deg, #29bdd9 0%, #276ace 100%);
}

.el-carousel__item:nth-child(2n + 1) {
  background: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 100%);
}

.el-table::before {
  width: 0;
}

// qr
.el-table .cell {
  cursor: pointer;
}

